# encoding: utf-8
"""
!/usr/bin/python3
@Author: Gao Shuo
@Time: 2019/3/27 15:00 
@ReadMe:
    Input: 
    Output: 
"""

import pandas as pd
import numpy as np

path_input = r'C:\Users\THINKPAD\Desktop\数据组\项目\1902多智能体模型\输入.csv'
data_input = pd.read_csv(path_input, header=0)
# print(data_input)

arr =  data_input['家庭'].unique()
print(arr)
for family in arr:
    print('family:', family)
    selected = data_input[data_input['家庭'] == family]
    print(selected)
    print(selected.iat[0,0])
